package cn.bughub.model.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 数据源实体
 *
 * @author zwj
 * @date 2024-09-25
 */
@Data
@TableName("data_sources")
public class DataSourcesEntity {
    
    @TableField("source_id")
    private Long sourceId;
    
    @TableField("source_name")
    private String sourceName;
    
    @TableField("source_type")
    private String sourceType;
    
    @TableField("connection_string")
    private String connectionString;
    
    @TableField("description")
    private String description;
    
    @TableField("status")
    private String status;
    
    @TableField("created_by")
    private Long createdBy;
    
    @TableField("created_time")
    private LocalDateTime createdTime;
    
    @TableField("updated_by")
    private Long updatedBy;
    
    @TableField("updated_time")
    private LocalDateTime updatedTime;
}
